package com.pkk.cloud.support.oauth2.client.url.properties;

import java.io.Serializable;
import java.util.Collections;
import java.util.List;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @Description: 忽略权限认证配置
 * @Author: peikunkun
 * @Date: 2020/3/21 0021 下午 2:14
 */
@Data
@ConfigurationProperties(prefix = "security.ignore")
public class IgnoreUrlProperties implements Serializable {

  /** 是否开启url忽略登录认证及鉴权 */
  private boolean enable = false;

  /** url忽略登录认证及鉴权list */
  private List<String> urls = Collections.emptyList();
}
